﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using KillBill.Business.Entities;
using KillBill.Business.Entities.ListEntities;
using KillBill.Services.DTO;

namespace KillBill.Services.Modules.Products.IServices
{
    [ServiceContract]
    public interface IProductsService
    {
        [OperationContract]
        ProductList GetProducts(string sessionId);
        [OperationContract]
        ProductList FindProducts(string value, string sessionId);
        [OperationContract]
        Product AddProduct(Product product, string sessionId);
        [OperationContract]
        Product UpdateProduct(Product product, string sessionId);
        [OperationContract]
        KillBillDTO DeleteProduct(Product product, string sessionId);
        [OperationContract]
        ProductList GetProductList(string sessionId);
        [OperationContract]
        ProductList FindProduct(string productName, string sessionId);
        [OperationContract]
        Product FindProductById(int productId, string sessionId);
    }

}
